﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Animation;
using MapLibrary.AILibrary;

namespace AI
{
    class BotFactory
    {
        /// <summary>
        /// Makes a new bot by name
        /// </summary>
        /// <param name="botName"></param>
        /// <returns></returns>
        public static Bot CreateBot(String botName)
        {
            Bot b = null;
            switch (botName)
            {
                case "Tuberculosis":
                    b = new TuberculosisBot();
                    break;
                case "Malaria":
                    b = new MalariaBot();
                    break;
                case "HIV":
                    b = new HIVBot();
                    break;
                case "Protein":
                    b = new ProteinBot();
                    break;
                case "Germ":
                    b = new GermBot();
                    break;
            }
            return b;
        }
    }
}
